#ifndef CONTROLLER_H
#define CONTROLLER_H

#include <QGraphicsScene>
#include <QGraphicsEllipseItem>
#include <vector>

class Controller : public QGraphicsScene
{
    Q_OBJECT
    std::vector<std::vector<QGraphicsEllipseItem*> > cells;
    std::vector<std::vector<bool> > isField;
    void drawBackground(QPainter *painter, const QRectF &rect);

    static const int cellSize = 30;
    static const int fieldSize = 3;
public:
    explicit Controller();
    
signals:
    void updateScore(int score);
public slots:
    
};

#endif // CONTROLLER_H
